package com.atguigu.common.exception;

/**
 * @Classname BizCodeEnum
 * @Description TODO
 * @Date 2020/4/22 0:08
 * @Created by  wrsChen
 */
public enum  BizCodeEnum {
    UNknow_exception(1000, "系统未知异常"),
    vaild_Exception(10001,"parameterFormatVerificationFailed");
    private int code;
    private String msg;
    BizCodeEnum(int code, String msg){

        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
